* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
	font-family: "proxima-nova", sans-serif;
}

body {
	min-width: 320px;
	color: #777;
	line-height: 1.6;
}


/* --------------------------
 * Element Styles
 * --------------------------
*/

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: rgb(75, 75, 75);
}
h3 {
	font-size: 1.25em;
}
h4 {
	font-size: 1.125em;
	margin: 0.5em 0 0 0;
}

a {
	color: #3b8bba; /* block-background-text-normal */
	text-decoration: none;
}

a:visited {
	color: #265778; /* block-normal-text-normal */
}

label {
	font-weight:bold;
}


/* --------------------------
 * Layout Styles
 * --------------------------
*/

/* Apply the .box class on the immediate parent of any grid element (pure-u-*) to apply some padding. */
.l-box {
	padding: 1em;
}

.l-wrap {
	margin-left: auto;
	margin-right: auto;
}
article .l-wrap {
	margin-left: -1em;
	margin-right: -1em;
}


/* --------------------------
 * Header Module Styles
 * --------------------------
*/

header {
	font-family: "omnes-pro", sans-serif;
	max-width: 768px;
	margin: 0 auto;
	padding: 1em;
	text-align: center;
	border-bottom: 1px solid #eee;
	background: #fff;
}
header h1 {
	font-size: 200%;
	font-weight: 100;
	margin: 0;
}
header h2 {
	font-size: 125%;
	font-weight: 100;
	line-height: 1.5;
	margin: 0;
	color: #666;
}


/* --------------------------
 * Content Module Styles
 * --------------------------
*/

/* The content div is placed as a wrapper around all the docs */
article {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1em;
	padding-right: 1em;
	max-width: 768px;
}

/* --------------------------
 * Footer Module Styles
 * --------------------------
*/

footer {
	font-size: 87.5%;
	border-top: 1px solid #eee;
	padding: 1.1429em;
	background: rgb(250, 250, 250);
}

/* Sticky footer: http://ryanfait.com/html5-sticky-footer/ */

* {
	margin: 0;
}
html, body {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -55px; /* the bottom margin is the negative value of the footer's height */
}
footer, .push {
	height: 55px; /* '.push' must be the same height as 'footer' */
}

/* --------------------------
 * Error Display
 * --------------------------
*/

.invalid {
	color:#b94a48;
	border-color:#ee5f5b.
}
.error {
	color: #ee5f5b;
}

/* --------------------------
 * Radio button
 * --------------------------
*/

.form-inline {display: inline-block; float: left;}

.pure-form .pure-radio {
	margin: 0.5em 1em;
	display: inline-block;
}

input[type=checkbox], input[type=radio] {
	margin-right: 1em;
}

/* --------------------------
 * Select
 * --------------------------
*/

/* Fix select being to low in Android Webkit. Removes arrows */
select {
	-webkit-appearance: listbox;
}

/* --------------------------
 * Number - Range
 * --------------------------
*/

.pure-u-1-4 > .l-box {padding-left: 0; padding-right: 0;}
.pure-u-3-4 > .l-box {padding-left: 0; padding-right: 2em}

input[type='range'] {
	-webkit-appearance: none !important;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: inset 0 0 5px #333;
	background-color: #E6E6E6;
	display: block;
	height: 0.5em;
	left: 0.5em;
	margin: 1.125em;
	position: relative;
	right: 0.5em;
}
input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	-webkit-border-radius: 10px;
	background-color: #AAA;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#EEE), to(#AAA));
	border: 1px solid #999;
	height: 2em;
	width: 2em;
}

/* --------------------------
 * Button
 * --------------------------
*/

button {width: 45%}

@media only screen and (max-width :480px)
{.pure-form button[type=submit]{margin:0}}

#save {float: left;}
#cancel {float: right;}

/* --------------------------
 * Styles
 * --------------------------
*/
#log {
	margin: 0.5em 0
}

#description {
	padding-top: 1em;
}

.is-center {
	text-align: center;
}

div.clear {
	clear: both;
}